<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script>
        if(localStorage.getItem("isLogin") !== "ok"){
            alert("未登录状态，不允许打开购物车，请先登录")
            location.href = "./login.html"
        }
    </script>
</head>
<link rel="stylesheet" href="./css/goCart.css">
<link rel="stylesheet" href="./font/iconfont.css">
<link rel="stylesheet" href="./css/index.css">
<link rel="stylesheet" href="./css/all-powerful.css">


<body>
    <div class="headsBox"></div>
    
    <div class="ncc-wrapper">

  
        <div class="ncc-main">
          <div class="ncc-title">
            <h3>我的购物车</h3>
            <h5>查看购物车商品清单，增加减少商品数量，并勾选想要的商品进入下一步操作。</h5>
          </div>
          <form  method="POST" id="form_buy" name="form_buy">
            <input type="hidden" value="1" name="ifcart" id="ifcart">
            <input type="hidden" value="" name="ifchain" id="ifchain">
            <table class="ncc-table-style" nc_type="table_cart">
              <thead>
                <tr>
                  <th class="w50"><label>
                      <input type="checkbox" checked="" value="1" id="selectAll">
                      全选</label></th>
                  <th></th>
                  <th>商品</th>
                  <th class="w150">单价(元)</th>
                  <th class="w100">数量</th>
                  <th class="w150">小计(元)</th>
                  <th class="w80 tl">操作</th>
                </tr>
              </thead>
            <tbody>
                <tr>
                  <th colspan="20"> <!-- S 店铺名称 -->
                    
                    <div class="ncc-store-name">店铺：<a href="https://www.chawo.com/shop-2.html">茶窝网</a><span member_id="5"></span></div>
                    
                    <div class="ncc-store-sale"><span>免运费</span>满99免运费</div>
                                
                    <!-- S 店铺满金额包邮 --> </th>
                </tr>
                <!-- S one store list -->
                <tr id="cart_item_1551188" nc_group="1551188" class="shop-list ">
                  <td class="td-border-left "></td>
                    <td class="w100"></dt>
                    <dd class="goods-spec"></dd>
                                    
                    </dl> 
                  </td>
                  <td><!-- S 商品单价 -->
                    
                    </td>
                            <td class="ws0"><a>"减少商品件数" class="add-substract-key tip">-</a>
                            <!-- <input id="input_item_1551188" bl_id="0" value="1" orig="1" changed="1" onkeyup="change_quantity(1551188, this);" type="number" class="text tc w20"> -->
                    </td>
                        <td>            
                            <!-- <em id="item1551188_subtotal" nc_type="eachGoodsTotal" class="goods-subtotal">9.50</em> -->
                        /td>
                  <td class="tl td-border-right"><br>
                                <a >删除</a> -->
                    </td>
                </tr>    
                <tr>
                  <td colspan="20"></td>
                </tr>
                      </tbody>
              <tfoot>
                <tr>
                  <td colspan="20"> 
                      <div class="ncc-all-account">商品总价（不含运费）<em id="cartTotal"></em>元</div>
                     <input type="submit" style="margin-top: 10px;"></input> 
                     </td>
                </tr> 
              </tfoot>
            </table>
          </form>
          
          <!-- 猜你喜欢 -->
          <div id="guesslike_div"></div>
        </div>
        <div class="jjg-chooes-box" id="jjg-choose-container">
          <div class="title-bar">
            <h3>换购商品列表</h3>
            <a href="javascript:;" id="jjg-choose-container-close" class="close" title="关闭">×</a></div>
          <div class="choose-inner ps-container ps-active-y" id="jjg-choose-container-inner">
            <table>
              <thead>
                <tr>
                  <th class="w30"></th>
                  <th colspan="2">换购商品</th>
                  <th class="w80">换购价格</th>
                  <th class="w80">换购数量</th>
                </tr>
              </thead>
              <tbody>
              </tbody>
            </table>
          <div class="ps-scrollbar-x-rail" style="width: 550px; display: none; left: 0px; bottom: 3px;"><div class="ps-scrollbar-x" style="left: 0px; width: 0px;"></div></div><div class="ps-scrollbar-y-rail" style="top: 0px; height: 28px; display: inherit; right: 3px;"><div class="ps-scrollbar-y" style="top: 0px; height: 21px;"></div></div></div>
        </div>
        <table style="display:none;">
          <tbody id="jjg-choose-item-wrapper">
            <tr>
              <td><input type="checkbox" data-jjg-leveled="%jjg_id%" data-jjg-leveled-level="%jjg_level%" data-jjg-leveled-sku="%id%"></td>
              <td class="w40"><img alt="" data-src="%imgUrl%"></td>
              <td class="tl"><a target="_blank" href="%url%" class="name">%name%</a></td>
              <td><em class="old">%price%</em><em>%jjg_price%</em></td>
              <td>X1</td>
            </tr>
          </tbody>
          <tbody id="jjg-header-wrapper">
            <tr class="jjg-xor-outer-false">
              <td colspan="20" class="td-border-left td-border-rihgt tl"><div class="jjg-xor-inner-false"><strong>【加价购】</strong>已购满 %m0% 元，再加 %p0% 元，即可换购商品。 </div>
                </td>
            </tr>
          </tbody>
          <tbody id="jjg-footer-wrapper">
            <tr>
              <td colspan="20" style="padding: 4px;"></td>
            </tr>
          </tbody>
          <tbody id="jjg-chosen-item-wrapper">
            <tr data-chosen-item="%jjg_id%" data-chosen-item-sku="%id%" class="bundling-list">
              <td class="td-border-left tree"><input type="hidden" name="jjg[]" value="%jjg_id%|%jjg_level%|%id%"></td>
              <td><a class="ncc-goods-thumb" href="%url%" target="_blank"><img alt="%name%" data-src="%imgUrl%"></a></td>
              <td class="tl"><dl class="ncc-goods-info">
                  <dt> <a href="%url%" target="_blank">%name%</a> </dt>
                  <dd class="ncc-goods-gift"> <span>已选换购</span> </dd>
                </dl></td>
              <td><em class="goods-price">%jjg_price%</em></td>
              <td>1</td>
              <td><em class="jjg-item-when-calculation goods-subtotal">%jjg_price%</em></td>
              <td class="td-border-right"></td>
            </tr>
          </tbody>
        </table>
        
        
    </div>


    <div class="footsBox"></div>
</body>  
<script src="./libs/jquery.js"></script>
<script src="./libs/require.js"></script>
<script src="./js/goCartMain.js"></script>
</html>